pkgname=your-freedom
pkgver=20090705
pkgrel=1
pkgdesc="Your Freedom is a service to do two things: Bypass Firewalls, Proxies and content Filters and stay anonymous while surfing, playing and downloading"
arch=('i686' 'x86_64')
url="http://www.your-freedom.net/"
license=('custom')
depends=("java-runtime")
source=("http://ems01.your-freedom.de/download/freedom-$pkgver-01.zip" freedom.sh)

build() {
	mkdir -p $startdir/pkg{/usr/share/$pkgname,/usr/bin,/usr/share/java/$pkgname}
	
	cd $startdir/src/

	install -m755 freedom.sh $startdir/pkg/usr/bin/freedom
	cp -r * $startdir/pkg/usr/share/$pkgname
	mv $startdir/pkg/usr/share/$pkgname/*.jar $startdir/pkg/usr/share/java/$pkgname
	rm -rf $startdir/pkg/usr/share/$pkgname/*.{exe,zip,dll,EXE}
}
md5sums=()
